<template>
  <div class="midden-top">
    <div class="item">
      <div class="title">会员注册数</div>
      <div class="content">
        <span>{{ userData.user_count }}</span>
        <span></span>
      </div>
    </div>
    <div class="item">
      <div class="title">活跃会员数</div>
      <div class="content">
        <span>{{ userData.active_user_count }}</span>
        <span></span>
      </div>
    </div>
    <div class="item">
      <div class="title">惠选产品链接数</div>
      <div class="content">
        <span>{{ userData.goods_count }}</span>
        <span></span>
      </div>
    </div>
    <div class="item">
      <div class="title">商邦入驻数</div>
      <div class="content">
        <span>{{ userData.shop_count }}</span>
        <span></span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    userData: {
      type: Object,
      default: () => {},
    },
  },
};
</script>

<style scoped lang="less">
.midden-top {
  height: 100px;
  //background-color: red;
  display: flex;
  justify-content: space-around;
  .item {
    width: 183px;

    height: 80px;
    .title {
      text-align: center;
      font-size: 20px;
      font-family: Adobe Heiti Std;
      font-weight: normal;
    }
    .content {
      width: 183px;
      height: 62px;
      line-height: 62px;
      text-align: center;
      margin-top: 8px;
      background: rgba(46, 87, 130, 0);
      border: 2px solid #1fc6ff;
      border-radius: 10px;
      font-size: 38px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #ffffff;
    }
  }
}
</style>
